package com.hkts.management.es.constants;

/**
 *
 */

public class EsCargoConstants {
    /**
     * ES索引
     */
    public static final String CARGO_ORDER_INDEX="cargo_v2.0.2";
    public static final String ID="_id";
    /**
     * 搜索距离
     */
    public static final double DISTANCE=5000;
    /**
     * 订单id前缀
     */
    public static final String ORDER_PREFIX="order_";
    /**
     * 父子类型
     */
    public static final String TYPE="type";
    public static final String PARENT_TYPE="cargo";
    public static final String CHILD_TYPE="order";
    /**
     * 字段名
     */
    public static final String CARGOTYPE="cargoType";
    public static final String END_ADDRESS_DETAIL="endAddressDetail";
    public static final String START_ADDRESS_DETAIL="startAddressDetail";
    public static final String STARTAREA="startArea";
    public static final String CARGOTOTAL="cargoTotal";
    public static final String END_LAT="endLat";
    public static final String END_LON="endLon";
    public static final String CARGO_STATUS="cargoStatus";
    public static final String CARTYPE="carType";
    public static final String CARGO_RESIDUAL="cargoResidual";
    public static final String PUSH_TIME="pushTime";
    public static final String IS_RECEIPT="isReceipt";
    public static final String START_LAT="startLat";
    public static final String START_LON="startLon";
    public static final String ENDAREA="endArea";
    public static final String LOADINGSTARTTIME="loadingStartTime";
    public static final String LOADINGENDTIME="loadingEndTime";
    public static final String LOADINGINFO="loadingInfo";
    public static final String LOCATION="location";
    public static final String PACKAGING="packaging";
    public static final String CARLENGTH="carLength";
    public static final String DRIVERID="driverId";
    public static final String USERID="userId";
    public static final String CARGOID="cargoId";
    public static final String TRANSPORTPRICCE="transportPrice";
    public static final String CARGONAME="cargoName";
    public static final String CARGOUNIT="cargoUnit";


    public static final String SHIPPER="shipper";
    public static final String ORDER_ID="orderId";
    public static final String ORDERSTATUS="orderStatus";
    public static final String ORDER_SUBSTATE="orderSubstate";
    public static final String SHIPPERORDERSTATUS="shipperOrderStatus";
    public static final String SHIPPERORDERSUBSTATE="shipperOrderSubstate";
    public static final String USERNAME="userName";
    public static final String TELPHONE="telphone";
    public static final String  ORDER_CREATETIME="oCreateTime";
    public static final String  ORDER_UPDATETIME="oUpdateTime";


}
